# def myadd1(x, y):
#     return x + y


'''
myadd1(3, 4)
myadd2 = lambda x, y: x + y
myadd2(3, 4)
print("3+4=", myadd2(3, 4))

mymul = lambda a, b, c: a * b + c
mymul(3, 4, 5)
'''

'''
def fa(a, b):
    print(a)
    print(b)
    print(b(a))  # 相当于 sum([1,2,3])

fa([1, 2, 3], sum)
'''

def lines(x):
    print('#'+'+'*x+'#')
def p1(x):
    return x**3
'''
print(p1(3))
print(p1(4))
print(p1(5))
lines(20)

L=[3,4,5,9,2]
for x in map(p1,L):
    print(x)
    '''

"""
def is_odd(x):
    return x % 2 == 1


print("is_odd(10)", is_odd(10))
print("is_odd(9)", is_odd(9))
print("is_odd(5)", is_odd(5))

lines(15)

L = [8, 5, 3, 12, 65, 9, 2, 34]
print(list(filter(is_odd, L)))
"""
def cj(a):
    return 0<a<60
#x=float(input(""please input ur result: ""))
L=[30,60,80,90,14,27]
# while True:
#     x=int(input("please input ur result: "))
#     if x== "":
#         break
#     L.append(x)
'''
print(L)

for i in (map(cj,L)):
    print(i)
'''
# L = []
# while True:
#     x= int(input("请输入成绩: "))
#     if x < 0:
#         break
#     L.append(x)


#L1=[x for x in range(100,1001)]
"""
def bdx(x, y):
    if x > y:
        print(f"在{x, y}中，『{x}』大")
        return x
    elif x < y:
        print(f"在{x, y}中，『{y}』大")
        return y
    else:
        print("一样大")


bdx(20, 20)
xian(50)
bdx(7, 18)
"""
#如果不记得错误类型，可以输入他们的父类，当然最好是输入比较准确的错误类型
'''
try:
    import time
    print(f"{a}")
except Exception as cuowo:
    print(cuowo)
else:
    print("程序正常")
finally:
    print("无条件执行代码放在这里")
'''

def get_score():
    x=int(input("请输入成绩："))
    if 0<=x<=100:
        return x
    raise valueError
print("+++++++++++++++++++++++++++++++")
print("the result",get_score())